import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '店铺名称',
    align: "center",
    dataIndex: 'shopName'
  },
  {
    title: '商品名称',
    align: "center",
    dataIndex: 'productTitle'
  },
  {
    title: '商品链接',
    align: "center",
    dataIndex: 'productUrl'
  },
  {
    title: '商品图片',
    align: "center",
    dataIndex: 'productImg'
  },
  {
    title: 'sku图片',
    align: "center",
    dataIndex: 'skuImg'
  },
  {
    title: 'sku名称',
    align: "center",
    dataIndex: 'skuName'
  },
  {
    title: 'sku价格',
    align: "center",
    dataIndex: 'skuPrice'
  },
  {
    title: 'key',
    align: "center",
    dataIndex: 'searchKey'
  },
];

// 高级查询数据
export const superQuerySchema = {
  shopName: {title: '店铺名称',order: 1,view: 'text', type: 'string',},
  productTitle: {title: '商品名称',order: 2,view: 'text', type: 'string',},
  productUrl: {title: '商品链接',order: 3,view: 'text', type: 'string',},
  productImg: {title: '商品图片',order: 4,view: 'text', type: 'string',},
  skuImg: {title: 'sku图片',order: 5,view: 'text', type: 'string',},
  skuName: {title: 'sku名称',order: 6,view: 'text', type: 'string',},
  skuPrice: {title: 'sku价格',order: 7,view: 'text', type: 'string',},
  searchKey: {title: 'key',order: 8,view: 'text', type: 'string',},
};
